package com.uriuniv.service;

import java.util.List;

import com.uriuniv.dao.BoardArticleD;
import com.uriuniv.domain.Board;
import com.uriuniv.domain.BoardArticle;

public class BoardArticleS {
	
	private BoardArticleD boardArticleD;

	public void setBoardArticleD(BoardArticleD boardArticleD) {
		this.boardArticleD = boardArticleD;
	}
	
	public List<BoardArticle> getBoardArtcileList(String srchWord, int pageNum, String boardId, String[] univId){
		return boardArticleD.getBoardArtcileList(srchWord, pageNum, boardId, univId);
	}
	
	public int getBoardArticleCount(){
		return boardArticleD.getBoardArticleCount();
	}
	
	public List<Board> getBoardList(){
		return boardArticleD.getBoardList();
	}
	
}
